mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Create Dockerfile
This commit is contained in:
parent
665360c5a5
commit
905762277b
37
Dockerfile
Normal file
37
Dockerfile
Normal file
@ -0,0 +1,37 @@
|
||||
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 \
|
||||
git \
|
||||
ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
git-lfs
|
||||
|
||||
FROM base as shape_base
|
||||
|
||||
WORKDIR /shapez.io
|
||||
|
||||
RUN git-lfs pull
|
||||
RUN yarn
|
||||
|
||||
WORKDIR /shapez.io/gulp
|
||||
|
||||
RUN yarn
|
||||
|
||||
WORKDIR /shapez.io/gulp
|
||||
|
||||
ENTRYPOINT ["yarn", "gulp"]
|
Loading…
Reference in New Issue
Block a user