diff --git a/Dockerfile b/Dockerfile index aaa996691..2fc70330f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ ARG NODE_IMAGE=node FROM ${NODE_IMAGE}:lts AS build WORKDIR /app -ENV NODE_ENV production +ENV NODE_ENV=production RUN set -eux; \ npm install --production tkserver@latest; \ mkdir -p data -FROM ${NODE_IMAGE}:lts-buster-slim +FROM ${NODE_IMAGE}:lts-alpine WORKDIR /app -ENV NODE_ENV production +ENV NODE_ENV=production COPY --from=build /app . EXPOSE 8080 CMD ["/app/node_modules/.bin/tkserver"]