Skip to content

Commit

Permalink
create qg service
Browse files Browse the repository at this point in the history
  • Loading branch information
pelazas committed Feb 21, 2024
1 parent 7408f40 commit 76ab05b
Show file tree
Hide file tree
Showing 6 changed files with 5,555 additions and 0 deletions.
2 changes: 2 additions & 0 deletions game/qgservice/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
coverage
20 changes: 20 additions & 0 deletions game/qgservice/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Use an official Node.js runtime as a parent image
FROM node:20

# Set the working directory in the container
WORKDIR /usr/src/userservice

# Copy package.json and package-lock.json to the working directory
COPY package*.json ./

# Install app dependencies
RUN npm install

# Copy the app source code to the working directory
COPY . .

# Expose the port the app runs on
EXPOSE 8001

# Define the command to run your app
CMD ["node", "user-service.js"]
Loading

0 comments on commit 76ab05b

Please sign in to comment.