Improved dockerfile & compose

This commit is contained in:
DJj123dj
2025-03-12 22:13:00 +01:00
parent e7ad3dd50b
commit 1e159c9bab
2 changed files with 9 additions and 7 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
# Docker File for Open Ticket v4
# Use the official Node.js 18 image from Docker Hub
FROM node:18-alpine
# Use the official Node.js 20 image from Docker Hub
FROM node:20-alpine
# Set a different working directory inside the container
WORKDIR /usr/src/openticket
# Set pterodactyl working directory inside the container
WORKDIR /home/container
# Copy package.json and package-lock.json into the container
COPY package*.json ./