Skip to content

Commit 82f58a6

Browse files
committed
nginx fix
1 parent c6ab1b4 commit 82f58a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ RUN --mount=type=secret,id=mysecret,dst=/foobar eval "$(echo $(cat /foobar))" &
1616
#
1717

1818
FROM nginx:1.21 AS production
19-
19+
COPY nginx.conf /etc/nginx/conf.d/default.conf
2020
COPY --from=building /app/dist/time-tracker /usr/share/nginx/html
21-
2221
# FIXME: Actually if we can deploy to azure in port 80 we need a root user
2322
# Maybe we can refactor this dockerfile to use root user directly this is not a good approach y
2423
# security terms. It's a good practice to have rootless in containers so for this

0 commit comments

Comments
 (0)