update
This commit is contained in:
parent
0ff754b255
commit
44ad283395
2 changed files with 18 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal 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
4
buildit.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
git pull
|
||||
corepack enable
|
||||
yarn
|
||||
yarn run build
|
Reference in a new issue