mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 05:48:23 +02:00
✨ Improve build scripts.
This commit is contained in:
parent
924ecd998f
commit
124efc0d88
4 changed files with 89 additions and 75 deletions
|
@ -16,6 +16,6 @@ RUN set -ex; \
|
|||
apt-get -qqy install adoptopenjdk-15-hotspot; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
ADD ./bundle/backend/ /opt/bundle/
|
||||
ADD ./bundle-app/backend/ /opt/bundle/
|
||||
WORKDIR /opt/bundle
|
||||
CMD ["/bin/bash", "run.sh"]
|
||||
|
|
|
@ -83,7 +83,7 @@ RUN set -ex; \
|
|||
|
||||
WORKDIR /opt/app
|
||||
|
||||
ADD ./bundle/exporter/ /opt/app/
|
||||
ADD ./bundle-exporter/ /opt/app/
|
||||
|
||||
RUN set -ex; \
|
||||
export PATH="$PATH:/usr/local/nodejs/bin"; \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM nginx:latest
|
||||
LABEL maintainer="Andrey Antukh <niwi@niwi.nz>"
|
||||
|
||||
ADD ./bundle/frontend /var/www/app/
|
||||
ADD ./bundle-app/frontend /var/www/app/
|
||||
ADD ./files/config.js /var/www/app/js/config.js
|
||||
ADD ./files/nginx.conf /etc/nginx/nginx.conf
|
||||
ADD ./files/nginx-entrypoint.sh /entrypoint.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue