1
Fork 0
This commit is contained in:
Korbs 2024-05-13 13:12:51 -04:00
parent 0ff754b255
commit 44ad283395
2 changed files with 18 additions and 0 deletions

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
# Use NodeJS with Alpine Linux as runtime
FROM node:20 AS runtime
# Set the work directory
WORKDIR /penpot-desktop
# Copy repo to the work directory
COPY . /penpot-desktop
RUN apt update
RUN apt install git rpm -y
# Enable yarn (Yarn is preferred)
CMD sh buildit.sh

4
buildit.sh Normal file
View file

@ -0,0 +1,4 @@
git pull
corepack enable
yarn
yarn run build