test!
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Dockerfile
|
||||
#
|
||||
|
||||
FROM node:alpine
|
||||
WORKDIR /usr/app
|
||||
RUN apk update && apk add libstdc++ && apk add build-base && apk add python3 && apk add bash && apk add git
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
COPY src/app/public public
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run clean
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "run", "prod"]
|
||||
Reference in New Issue
Block a user