Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Aug 25, 2024
1 parent 65e80f1 commit 3977e16
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Use an official Node runtime as a parent image
FROM node:22
# syntax=docker/dockerfile:1.4


# Base Image
# =============================================================================

FROM ghcr.io/stylescape/stylescape-devcontainer/devcontainer:latest

# Set the working directory
WORKDIR /usr/src/app

# Copy package.json and package-lock.json
COPY package*.json ./
Expand All @@ -16,5 +19,8 @@ COPY . .
# Make port available to the world outside this container
EXPOSE 3000

# Start Command
# =============================================================================
# Define the command to run your app
CMD [ "npm", "start" ]
# CMD [ "npm", "start" ]
CMD ["/usr/local/bin/start.sh"]

0 comments on commit 3977e16

Please sign in to comment.