polish: specify node version in dockerfile

pull/313/head
amio 2019-10-05 10:46:22 +08:00
rodzic ebbb97923e
commit 450e08b3ce
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,9 +1,9 @@
FROM node:alpine AS build
FROM node:12-alpine AS build
WORKDIR /src
COPY . .
RUN npm ci && npm run build
FROM node:alpine
FROM node:12-alpine
WORKDIR /app
COPY --from=build /src/dist .
ENTRYPOINT node /app/index.js