Skip to content

Commit

Permalink
build: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Dec 4, 2023
1 parent 18da287 commit f61188f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ RUN apk add --no-cache bash
## Copy .env file and shell script to container
COPY --from=build /app/dist ./
COPY --from=build /app/entrypoint.sh .
RUN chmod 755 entrypoint.sh

## Make shell script executable and prevent windows encoding
RUN sed -i -e 's/\r$//' entrypoint.sh && chmod +x entrypoint.sh

# add non-root user
RUN touch /var/run/nginx.pid
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knowledge",
"version": "1.11.2",
"version": "1.11.3",
"description": "The user interface that presents the service offer of the INSEE survey information system",
"author": "u/ddecrulle",
"license": "MIT",
Expand Down

0 comments on commit f61188f

Please sign in to comment.