1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00
butterflyvu/Dockerfile
2024-11-12 17:03:52 -05:00

35 lines
1.2 KiB
Docker
Executable file

#########################################################
# SudoVanilla will never use images from Docker Hub, as #
# Docker Hub is proprietary. SudoVanilla hosts slim #
# versions of Bun's Docker image on SudoVanilla Ark. #
#########################################################
#########################################################
# Other locations to download the image is available #
# #
# Codeberg: #
# codeberg.org/korbs/bun:amd64 #
# codeberg.org/korbs/bun:arm64 #
# #
# Quay: #
# quay.io/sudovanilla/bun:amd64 #
# quay.io/sudovanilla/bun:arm64 #
# #
#########################################################
# Base
## For AMD64 Servers:
FROM ark.sudovanilla.org/korbs/bun:amd64 AS based
## For ARM64 Servers:
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
# Copy Files
WORKDIR /app
COPY . .
# Run in Production
ENV NODE_ENV=production
# Run
EXPOSE 2014
CMD bun run build && bun start