We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f09323 commit b4d2874Copy full SHA for b4d2874
.dockerignore
@@ -0,0 +1,5 @@
1
+.gitignore
2
+.travis.yml
3
+.vscode
4
+node_modules
5
+test
dockerfile
@@ -0,0 +1,18 @@
+FROM node:8-slim
+
+# Set environment variables
+ENV XBROWSERSYNC_DB_USER ${XBROWSERSYNC_DB_USER}
+ENV XBROWSERSYNC_DB_PWD ${XBROWSERSYNC_DB_PWD}
6
7
+# Create api directory
8
+WORKDIR /usr/src/xbrowsersync-api
9
10
+# Copy src files
11
+COPY . .
12
13
+# Install dependencies
14
+RUN npm install
15
16
+# Expose port and start application
17
+EXPOSE 8080
18
+CMD [ "node", "dist/api.js"]
0 commit comments