forked from casual-simulation/casualos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.arm32
More file actions
29 lines (21 loc) · 792 Bytes
/
Dockerfile.arm32
File metadata and controls
29 lines (21 loc) · 792 Bytes
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
FROM arm32v7/node:18
WORKDIR /usr/src/app
# Setup Global NPM package path
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PATH "/root/.deno/bin:/home/node/.npm-global/bin:${PATH}"
ENV NODE_ENV production
ENV PRODUCTION 1
# Specify no sandbox since Deno doesn't support Arm32
ENV SANDBOX_TYPE "none"
COPY ./src/aux-server/package*.json ./
COPY ./src/aux-server/aux-backend/server/dist ./aux-backend/server/dist/
COPY ./src/aux-server/aux-web/dist ./aux-web/dist/
COPY ./src/aux-server/aux-web/aux-auth/dist ./aux-web/aux-auth/dist/
COPY ./src/aux-server/aux-backend/schemas/auth.prisma ./aux-backend/schemas/auth.prisma
COPY ./src/aux-server/aux-backend/schemas/migrations ./aux-backend/schemas/migrations
# HTTP
EXPOSE 3000
EXPOSE 3002
# WebSocket
EXPOSE 4567
CMD [ "npm", "start" ]