Skip to content

Commit

Permalink
Revert unneeded Dockerfile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec committed Jan 30, 2025
1 parent 0d194ff commit f7787a9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ COPY docs/user_guide docs/user_guide

RUN tox -e user-guide

# Frontend build environment
# Frontend build environment.
FROM node:20.18.1-bookworm-slim AS frontend_builder
WORKDIR /app

# Install app dependencies
# Install app dependencies.
COPY package*.json ./
RUN npm ci

# Build application
# Build application.
COPY . ./
RUN npm run build

# Production environment
# Production environment.
FROM nginx:1.27

WORKDIR /app
Expand All @@ -57,6 +57,7 @@ COPY public/locales ${FRONTEND_HOST_DIR}/locales
COPY nginx/pages/url_moved_home.html /etc/nginx/page_templates/url_moved_home.html
COPY public/favicon.ico ${FRONTEND_HOST_DIR}/url_moved/favicon.ico
COPY src/resources/tractor.png ${FRONTEND_HOST_DIR}/url_moved/tractor.png
COPY public/scripts/release.js ${FRONTEND_HOST_DIR}/scripts/release.js

# Setup nginx configuration templates
COPY nginx/templates/* /etc/nginx/templates/
Expand Down

0 comments on commit f7787a9

Please sign in to comment.