Update container files to work with Podman
This commit is contained in:
parent
054e9caca0
commit
2ef2249be7
@ -1,14 +1,14 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.10
|
||||
|
||||
RUN useradd -d /code pathogen
|
||||
RUN useradd -d /code xf
|
||||
RUN mkdir /code
|
||||
RUN chown pathogen:pathogen /code
|
||||
RUN chown xf:xf /code
|
||||
|
||||
RUN mkdir /venv
|
||||
RUN chown pathogen:pathogen /venv
|
||||
RUN chown xf:xf /venv
|
||||
|
||||
USER pathogen
|
||||
USER xf
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
WORKDIR /code
|
||||
|
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ stop:
|
||||
docker-compose -f docker-compose.prod.yml --env-file=stack.env down
|
||||
|
||||
log:
|
||||
docker-compose -f docker-compose.prod.yml --env-file=stack.env logs -f
|
||||
docker-compose -f docker-compose.prod.yml --env-file=stack.env logs -f --names
|
||||
|
||||
run-infra:
|
||||
docker-compose -f docker-compose.infra.yml --env-file=stack.env up -d
|
||||
|
Loading…
Reference in New Issue
Block a user