Clean up dockerfile
This commit is contained in:
parent
54b7eec9ec
commit
3eca0251fc
@ -1,12 +1,10 @@
|
|||||||
FROM node:16 AS base
|
FROM node:16 AS base
|
||||||
|
|
||||||
# WORKDIR /app
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
COPY package-lock.json .
|
COPY package-lock.json .
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
FROM base as dependencies
|
FROM base as dependencies
|
||||||
# WORKDIR /app
|
|
||||||
COPY pages /pages
|
COPY pages /pages
|
||||||
COPY public /public
|
COPY public /public
|
||||||
COPY styles /styles
|
COPY styles /styles
|
||||||
|
Loading…
Reference in New Issue
Block a user