chore: reduce Docker image size

This commit is contained in:
Karol Sójko 2023-02-10 12:58:20 +01:00
parent 11ef2ef708
commit 2c51d92bab
No known key found for this signature in database
GPG key ID: D966F68E8A92F649

View file

@ -39,4 +39,8 @@ RUN yarn workspace @standardnotes/files-server bundle --no-compress --output-dir
RUN yarn workspace @standardnotes/revisions-server bundle --no-compress --output-directory /opt/bundled/revisions
RUN yarn workspace @standardnotes/api-gateway bundle --no-compress --output-directory /opt/bundled/api-gateway
WORKDIR /opt/bundled
RUN rm -rf /opt/server
ENTRYPOINT ["docker-entrypoint.sh"]