Update Dockerfile
This commit is contained in:
+1
-3
@@ -6,11 +6,9 @@ COPY package*.json .
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk add python3 py3-pip alpine-sdk openssl-dev build-base python3-dev
|
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
|
||||||
RUN python3 -m pip install setuptools --break-system-packages
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN export TERM=xterm-256color
|
|
||||||
VOLUME /app
|
VOLUME /app
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["pnpm"]
|
ENTRYPOINT ["pnpm"]
|
||||||
|
|||||||
Reference in New Issue
Block a user