Skip to content

Commit

Permalink
fix failing api docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
tdjsnelling committed Feb 14, 2023
1 parent bfcde50 commit 0488f22
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ FROM node:16-alpine
ENV NODE_ENV=production
ENV SENTRY_DSN="https://[email protected]/4504645996576768"
LABEL org.opencontainers.image.source=https://github.com/tdjsnelling/sqtracker
WORKDIR /sqtracker/api
WORKDIR /sqtracker
COPY . .
RUN yarn install
RUN echo "{}" > /config.js
RUN yarn build
EXPOSE 3001
CMD yarn start
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqtracker/api",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"private": true,
"license": "GPL-3.0-only",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqtracker/client",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"private": true,
"license": "GPL-3.0-only",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sqtracker",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"private": true,
"license": "GPL-3.0-only",
"workspaces": [
Expand Down

0 comments on commit 0488f22

Please sign in to comment.