Skip to content

Commit

Permalink
update dockerfile, add .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
akmatoff committed Oct 12, 2024
1 parent 59bb3d2 commit 7f1a4f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
/node_modules
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Base

FROM node:20.17.0-alpine AS base
FROM node:20.18.0-slim AS base

WORKDIR /codium-website

ARG BASE_URL

ENV NEXT_PUBLIC_BASE_URL=${BASE_URL}

COPY package*.json /
COPY package*.json /codium-website/

RUN npm install

Expand Down

0 comments on commit 7f1a4f5

Please sign in to comment.