added copying in core code
This commit is contained in:
+2
-1
@@ -57,8 +57,9 @@ RUN mkdir -p /home/app && \
|
|||||||
# add code while changing ownership
|
# add code while changing ownership
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
COPY --chown=app:app ./src ./src
|
COPY --chown=app:app ./src ./src
|
||||||
|
COPY --chown=app:app ./core ./core
|
||||||
|
|
||||||
# change to the app user
|
# change to the app user
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
ENTRYPOINT [ "gunicorn", "src.main:server", "-b", "0.0.0.0:8050" ]
|
ENTRYPOINT [ "gunicorn", "src.main:server", "-b", "0.0.0.0:8050" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user