Skip to content

Commit

Permalink
Adjust dockerignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed May 27, 2024
1 parent d177ed2 commit 4a0b227
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
./.github
./build
./coverage
./data
./docs
./home
./node_modules
./test
./.eslintrc
./docker-compose*
./indocker
./vitest.config.ts
.github
build
coverage
data
docs
home
node_modules
test
.eslintrc
docker-compose*
indocker
vitest.config.ts
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM node:22.2-alpine as builder
COPY . /shlink-dashboard
ARG VERSION="latest"
ENV VERSION ${VERSION}

COPY . /shlink-dashboard
WORKDIR /shlink-dashboard
# Install dev dependencies and build project
RUN cd /shlink-dashboard && npm ci && node --run build
RUN npm ci && node --run build


FROM node:22.2-alpine
Expand Down

0 comments on commit 4a0b227

Please sign in to comment.