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
This commit is contained in:
endofzero 2020-10-04 02:25:18 -06:00 committed by GitHub
parent 9217ee252d
commit 746154c428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

30
Dockerfile Normal file
View File

@ -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"]