Skip to content

Commit

Permalink
final docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassidy-Boilley committed May 27, 2024
1 parent 0e3d4d3 commit ff1b1bd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# testing
/coverage
.nyc_output

# next.js
/.next/
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:alpine

WORKDIR /src/server
WORKDIR /job-bank

COPY . /src/server/
COPY . .

RUN npm install

RUN npm install -ws
EXPOSE 3000

CMD ["npm", "run", "-w", "services", "start"]
CMD ["npm", "run", "dev"]
2 changes: 1 addition & 1 deletion src/components/ui/addJobPostingForm.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import DynamicTextarea from '@/components/ui/dynamicTextArea';
import CheckboxGroup from './CheckboxGroup';
import CheckboxGroup from '@/components/ui/checkboxGroup';

const AddJobPostingForm = ({ onSubmit, email }) => {
const [formData, setFormData] = useState({
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/card.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { Button } from '@/components/ui/button';
import TrashButton from '@/components/ui/trashbutton';
import CheckboxGroup from './CheckboxGroup';
import CheckboxGroup from '@/components/ui/checkboxGroup';
import { PencilIcon } from '@/components/icons';
import { cn } from '@/libs/utils';
import jobPostingService from '@/app/admin-panel/home/jobPostingService';
Expand Down

0 comments on commit ff1b1bd

Please sign in to comment.