fix folder

This commit is contained in:
GM 2023-01-22 21:17:18 +00:00
parent 292fbe4dde
commit a7ec4935e0

View File

@ -20,9 +20,10 @@ COPY --from=pybuilder /code /dist
# copy the frontend static files from the builder
COPY --from=builder ./dist /dist/
WORKDIR /dist
RUN mkdir save
EXPOSE 5001
ENV PATH=/root/.local/bin:${PATH}
VOLUME /code/save
VOLUME /dist/save
ENTRYPOINT ["python", "/dist/server.py"]