Skip to content

Commit

Permalink
Merge pull request #9 from ScilifelabDataCentre/dockerfile_branch
Browse files Browse the repository at this point in the history
Trying a new version of npm alpine and some minor changes
  • Loading branch information
SevLG authored Jan 9, 2024
2 parents ee763ae + a851e0b commit e561ce5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:21-alpine AS development
FROM node:20-alpine AS development
ENV NODE_ENV development
# Add a work directory
WORKDIR /app
WORKDIR /usr/app
# Cache and Install dependencies
COPY ./react-app/package.json .
COPY ./react-app/package-lock.json .
RUN npm install
RUN npm ci
# Copy app files
COPY ./react-app/ .
# Expose port
Expand Down

0 comments on commit e561ce5

Please sign in to comment.