-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
49 lines (36 loc) · 1.1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Copyright (c) Andras Csizmadia <[email protected]> (www.vpmedia.hu)
# author: Andras Csizmadia <[email protected]>
# see: https://docs.docker.com/engine/reference/builder
#
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
LABEL author="Andras Csizmadia"
RUN apt-get update && apt-get install -y \
apt-utils \
apt-transport-https \
software-properties-common \
curl \
sox \
libsox-fmt-mp3
# Optional steps
# RUN apt-get install -y wget imagemagick ffmpeg
# RUN t=$(mktemp) && wget 'https://dist.1-2.dev/imei.sh' -qO "$t" && bash "$t" && rm "$t"
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get update && apt-get install -y nodejs
RUN curl https://www.codeandweb.com/download/texturepacker/6.0.2/TexturePacker-6.0.2.deb --silent --output /tmp/TexturePacker-6.0.2.deb
RUN apt-get install -y \
libegl1-mesa \
libgl1-mesa-glx \
libfontconfig \
libx11-6 \
libxkbcommon-x11-0 \
/tmp/TexturePacker-6.0.2.deb
RUN echo agree | TexturePacker --version
ENV NODE_ENV development
WORKDIR /phixify
COPY package.json .
COPY package-lock.json .
RUN npm install
RUN mkdir -p asset
COPY . .