mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-26 03:45:38 +01:00
Dockerfile: use official image from Node.js
This commit is contained in:
parent
058205854e
commit
bfdc66218c
@ -1,4 +1,4 @@
|
|||||||
FROM mhart/alpine-node:latest AS build
|
FROM node:16-alpine AS build
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
@ -9,7 +9,7 @@ COPY src/ ./src
|
|||||||
RUN yarn install && yarn build && rm -f dist/*.map
|
RUN yarn install && yarn build && rm -f dist/*.map
|
||||||
|
|
||||||
# Second stage
|
# Second stage
|
||||||
FROM mhart/alpine-node:latest
|
FROM node:16-alpine
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user