We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a9d09 commit c6591efCopy full SHA for c6591ef
Dockerfile
@@ -17,7 +17,6 @@ CMD ${HOME}/time-tracker-ui/node_modules/.bin/ng serve --host 0.0.0.0 --disableH
17
18
19
FROM development as build
20
-COPY .env .
21
RUN npm run build
22
23
FROM nginx:1.21 AS production
@@ -27,7 +26,7 @@ RUN useradd -ms /bin/bash ${USERNAME}
27
26
28
COPY nginx.conf /etc/nginx/conf.d/default.conf
29
COPY --from=build /home/timetracker/time-tracker-ui/dist/time-tracker /usr/share/nginx/html
30
-COPY .env /usr/share/nginx/html
+# COPY .env /usr/share/nginx/html
31
RUN chown -R ${USERNAME}:${USERNAME} /var/cache/nginx && \
32
chown -R ${USERNAME}:${USERNAME} /var/log/nginx && \
33
chown -R ${USERNAME}:${USERNAME} /etc/nginx/conf.d
0 commit comments