updated Dockerfile
This commit is contained in:
parent
dd8b4a67ff
commit
a591969fbf
2 changed files with 4 additions and 4 deletions
|
|
@ -1,13 +1,13 @@
|
|||
FROM node:16-alpine
|
||||
FROM node:16-bullseye
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
RUN yarn install
|
||||
RUN yarn gatsby telemetry --disable
|
||||
|
||||
COPY . ./
|
||||
RUN yarn gatsby telemetry --disable
|
||||
RUN yarn build
|
||||
RUN rm -rf ./src ./node_modules
|
||||
|
||||
EXPOSE 9000
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
version: "0.1"
|
||||
version: "3"
|
||||
services:
|
||||
cli-web:
|
||||
build: .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue