fix folder
This commit is contained in:
parent
292fbe4dde
commit
a7ec4935e0
@ -20,9 +20,10 @@ COPY --from=pybuilder /code /dist
|
|||||||
# copy the frontend static files from the builder
|
# copy the frontend static files from the builder
|
||||||
COPY --from=builder ./dist /dist/
|
COPY --from=builder ./dist /dist/
|
||||||
WORKDIR /dist
|
WORKDIR /dist
|
||||||
|
RUN mkdir save
|
||||||
EXPOSE 5001
|
EXPOSE 5001
|
||||||
|
|
||||||
ENV PATH=/root/.local/bin:${PATH}
|
ENV PATH=/root/.local/bin:${PATH}
|
||||||
VOLUME /code/save
|
VOLUME /dist/save
|
||||||
|
|
||||||
ENTRYPOINT ["python", "/dist/server.py"]
|
ENTRYPOINT ["python", "/dist/server.py"]
|
||||||
|
Loading…
Reference in New Issue
Block a user