Skip to content

Commit

Permalink
Use Europe/Helsinki TZ in Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
nicou committed Jun 16, 2024
1 parent 0c2326d commit 9281982
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ WORKDIR /app

RUN npm install

# Configure Europe/Helsinki timezone
RUN ln -fs /usr/share/zoneinfo/Europe/Helsinki /etc/localtime && dpkg-reconfigure -f noninteractive tzdata

CMD ["npm", "run", "start:prod"]
3 changes: 3 additions & 0 deletions db/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ RUN apt-get update && apt-get install -y postgresql-12-postgis-3

ENV POSTGRES_PASSWORD=postgres

# Configure Europe/Helsinki timezone
RUN ln -fs /usr/share/zoneinfo/Europe/Helsinki /etc/localtime && dpkg-reconfigure -f noninteractive tzdata

COPY ./data/starmap_bg.csv ./data/starmap_object.csv ./data/ship.csv /fixtures/

0 comments on commit 9281982

Please sign in to comment.