Simplify dockerfiles and mark files as executable

This commit is contained in:
Gusto Bacvinka
2023-02-25 14:48:17 +02:00
parent 1ad4c600dc
commit f700030058
7 changed files with 11 additions and 5 deletions

View File

View File

@@ -21,7 +21,7 @@ COPY --from=build-image /opt/venv /opt/venv
# Copy the gennet files to the production image
WORKDIR /gennet
COPY Dockerfile batch_gen.sh gennet.py requirements.txt Readme.md ./
COPY . .
# Deploy the virtualenv in production image
ENV PATH="/opt/venv/bin:$PATH"