Dockerfile use for Node12 (#727)

* Create Dockerfile

* Update Dockerfile

git is already installed in the node:12 image

* Remove git-lfs curl pull for node12 image

* Remove the rest of the lfs references
pull/760/head
endofzero 4 years ago committed by GitHub
parent 9217ee252d
commit 746154c428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,30 @@
FROM node:12 as base
WORKDIR /shapez.io
COPY . .
EXPOSE 3005
EXPOSE 3001
RUN apt-get update \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
FROM base as shape_base
WORKDIR /shapez.io
RUN yarn
WORKDIR /shapez.io/gulp
RUN yarn
WORKDIR /shapez.io/gulp
ENTRYPOINT ["yarn", "gulp"]
Loading…
Cancel
Save