refactor: remove docker
This commit is contained in:
2 files changed
-19
No files matched your search
-12
@@ -1,12 +0,0 @@
|
||||
FROM node:14-stretch AS build
|
||||
WORKDIR /build
|
||||
COPY package-lock.json package.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
|
||||
|
||||
FROM node:14-alpine AS deploy
|
||||
USER node
|
||||
WORKDIR /home/node/src
|
||||
COPY --from=build --chown=node:node /build .
|
||||
CMD ["npm", "start"]
|
||||
@@ -1,7 +0,0 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- 3000:3000
|
||||
Reference in new issue
Block a user