Revert "fix dockerfile (remove deleting .env file) - it is found in dockerignore and fails to build if the file not exists"

This reverts commit 4f514ae1f4.
This commit is contained in:
M. Mert Yildiran 2021-08-24 20:11:24 +03:00
parent d4425e34ce
commit ffc7e05b44

View File

@ -3,6 +3,7 @@ FROM node:14-slim AS site-build
WORKDIR /app/ui-build
COPY ui .
RUN rm .env
RUN npm i
RUN npm run build