mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-24 07:06:52 +00:00
Updated Dockerfile and added dockerignore
This commit is contained in:
parent
4f20736752
commit
8ecdb30b70
2 changed files with 25 additions and 1 deletions
24
.dockerignore
Normal file
24
.dockerignore
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
*.local
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
|
@ -5,7 +5,7 @@ RUN apk add yarn nodejs
|
||||||
|
|
||||||
# Copy files to build environment
|
# Copy files to build environment
|
||||||
RUN mkdir /opt/micromobility-navigation
|
RUN mkdir /opt/micromobility-navigation
|
||||||
COPY micromobility-navigation/ /opt/micromobility-navigation
|
COPY . /opt/micromobility-navigation
|
||||||
|
|
||||||
# Run Vite production build
|
# Run Vite production build
|
||||||
WORKDIR /opt/micromobility-navigation
|
WORKDIR /opt/micromobility-navigation
|
||||||
|
|
Loading…
Reference in a new issue