🐳 Docker configuration
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
FROM node:lts-alpine
|
||||
FROM node:12-alpine
|
||||
|
||||
# Working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --silent
|
||||
@@ -15,5 +14,6 @@ ENV NODE_ENV=production
|
||||
RUN npm run build \
|
||||
&& npm prune
|
||||
|
||||
EXPOSE 3080
|
||||
# Start server
|
||||
CMD ["npm", "start"]
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user