recovering logic for public files in Dockerfile

This commit is contained in:
Absurdon 2023-03-10 16:20:31 +00:00
parent 4c497be7de
commit 41e4dfa480

View file

@ -19,6 +19,9 @@ RUN /bin/mkdir -p /home/web/tmp/public
COPY --chown=web:web --from=builder /app /app
WORKDIR /app
RUN /bin/cp -r ./public /home/web/tmp/public && \
/bin/touch /home/web/tmp/.updatePublic
EXPOSE 8000
CMD ["node", "index.mjs"]