Skip to content

Commit

Permalink
add Dockerfile for building inside dockerized environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter committed Jul 14, 2022
1 parent 0c81032 commit 3fb1621
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:18-buster

RUN mkdir /app
RUN apt-get --yes update && apt-get --yes install wget
RUN apt-get --yes install java-common libasound2 libxi6 libxtst6
RUN wget -O /app/zulu.deb https://cdn.azul.com/zulu/bin/zulu17.34.19-ca-jdk17.0.3-linux_amd64.deb
RUN yes | dpkg -i /app/zulu.deb
RUN apt-get -f install

WORKDIR /app
VOLUME app

CMD npm install && node . --patch

0 comments on commit 3fb1621

Please sign in to comment.