mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
add workdir to docker for faster build
This commit is contained in:
1 parent
6731b1d562
commit
5e4976412a
1 file changed
+1
@@ -1,5 +1,6 @@
|
||||
# Stage 1: build the application
|
||||
FROM nginx:alpine AS build-nginx
|
||||
WORKDIR /app
|
||||
RUN apk add nodejs npm
|
||||
COPY . .
|
||||
RUN npm i
|
||||
|
||||
Reference in new issue
Block a user