Skip to content

Commit

Permalink
Merge pull request #330 from ConductionNL/fix/OC-736/deeplink
Browse files Browse the repository at this point in the history
Fix docker file for online environments
  • Loading branch information
rjzondervan authored Aug 2, 2023
2 parents 1af1ae2 + fca5218 commit f30ac37
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions pwa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,5 @@ RUN yarn install && yarn build
FROM nginx
COPY --from=builder /app/public /usr/share/nginx/html

RUN chown -R nginx:nginx /usr/share/nginx && chmod -R 755 /usr/share/nginx && \
chown -R nginx:nginx /var/cache/nginx && \
chown -R nginx:nginx /var/log/nginx && \
chown -R nginx:nginx /etc/nginx/conf.d
RUN touch /var/run/nginx.pid && \
chown -R nginx:nginx /var/run/nginx.pid



COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY docker/default.conf /etc/nginx/conf.d/default.conf
USER nginx
EXPOSE 80
COPY docker/default.conf /etc/nginx/conf.d/default.conf

0 comments on commit f30ac37

Please sign in to comment.