Skip to content

Commit 60e5cde

Browse files
committed
updated docker image
1 parent 68bf188 commit 60e5cde

2 files changed

Lines changed: 29 additions & 2 deletions

File tree

.dockerignore

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# Git
2+
.git
3+
.gitignore
4+
5+
# Docker
6+
.dockerignore
7+
Dockerfile
8+
9+
# Node / dependencies
110
node_modules
11+
npm-debug.log
12+
*.log
13+
14+
# Build output
215
dist
3-
npm-debug.log
16+
build
17+
18+
# Env files
19+
.env*
20+
!.env.example
21+
22+
# Editor configs
23+
.vscode
24+
.idea
25+
26+
# OS files
27+
.DS_Store
28+
Thumbs.db

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ FROM node:20 AS build
33
WORKDIR /app
44
COPY package*.json ./
55
RUN npm install
6-
COPY . .
6+
COPY src/ ./src/
7+
COPY public/ ./public/
8+
COPY index.html vite.config.ts tsconfig*.json eslint.config.js ./
79
RUN npm run build
810

911
FROM nginx:alpine

0 commit comments

Comments
 (0)