mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Initial commit
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
FROM node:11-alpine
|
||||
|
||||
# Create app directories
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install app dependencies
|
||||
COPY . /usr/src/app/
|
||||
RUN npm install --no-optional && npm run build && npm prune --production && rm -rf ./src
|
||||
|
||||
# Start the App
|
||||
EXPOSE 8080
|
||||
CMD [ "npm", "start" ]
|
||||
Reference in New Issue
Block a user